<%@page import="pro.syj.bean.Student"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>个人信息查询</title>
	<link rel='stylesheet' href='CSS/decorator1.css'>
</head>

<body>
	<h1>个人信息查询</h1>
	<hr>
	<%
  		request.setCharacterEncoding("utf-8"); 
  		response.setContentType("text/html;charset=UTF-8");
  	%>
	<div id="before">
	    <a href="javascript: window.history.go(-1)">返回上一级</a>
	</div>
	<br>
	
  	  	<table align="center" cellspacing="0">
  		 <tr bgcolor="#5f9ea0" style="font-size: 20px;height:40px;text-align: center">
	        <td style="width: 120px">学号</td>
	        <td style="width: 120px">姓名</td>
	        <td style="width: 120px">年级</td>
	        <td style="width: 120px">专业</td>
    	</tr>
  		
  		<%
			Student student = (Student)session.getAttribute("student");  			
	  	%>
	  	
		<tr bgcolor="pink" >
			<td><%=student.getSid() %></td>
			<td><%=student.getSname() %></td>
			<td><%=student.getGrade() %></td>
			<td><%=student.getMajor() %></td>
		</tr>
	  			
  		</table>
  		<br>
  		<div><a href="studentMain.jsp">[返回主界面]</a></div>
</body>
</html>